package com.cunzhang.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "sky.jwt")
public class JwtProperties {
    //管理端信息
    private String adminTokenName;
    private Long adminTtl;
    private String adminSecretKey;

    //用户端信息
    private String userTokenName;
    private Long userTtl;
    private String userSecretKey;
}
